Release 10.1A: OpenEdge Development:
ADM Reference


assignWidgetValue

Takes the name of one object and a character screen value as input and sets the SCREEN-VALUE of the object. The DataValue is set for a SmartDataField. (This would always be the key field for a lookup even when the display field is different.)

Location: visual.p

Parameters:

INPUT name AS CHARACTER

The name of a single Dynamics object.

INPUT value AS CHARACTER

A string representing the intended screen value of the widget.

Returns: LOGICAL

Notes:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

assignWidgetValue("Browse.Status":U, "Shipped":U). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

logic.assignWidgetValue(‘orderfullo.browse.status’,’Shipped’); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095